package com.naiterui.ehp.bs.ds.modules.goods.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.ds.common.entity.BaseTree;

import lombok.Data;
import lombok.EqualsAndHashCode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 基础分类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_classification")
@ApiModel(description = "基础分类")
public class Classification extends BaseTree implements Serializable {

    private static final long serialVersionUID = 8225331950302133356L;

    /**
     * 分类名
     */
    @ApiModelProperty(value = "分类名")
    private String name;

    /**
     * 类型：1 药理分类，2型剂分类， 3药品分类
     */
    @ApiModelProperty(value = "类型：1 药理分类，2型剂分类， 3药品分类")
    private Integer type;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "编码")
    private String code;

}
